<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('订单信息')" />
</head>
<body>

Hello World!
<table>
    <tr>
        <th>订单信息</th>
        <th>订单信息</th>
        <th>订单信息</th>
        <th>订单信息</th>
    </tr>

    <tr>
        <td>订单号</td>
        <td>订单号</td>
        <td>订单号</td>
        <td>订单号</td>
    </tr>
    <tr>
        <td>订单号</td>
        <td>订单号</td>
        <td>订单号</td>
        <td>订单号</td>
    </tr>
    <tr>
        <td>订单号</td>
        <td>订单号</td>
        <td>订单号</td>
        <td>订单号</td>
    </tr>
    <th>订单信息</th>
</table>


</body>
<script type="text/javascript">
    var ctx = "\/";
    var prefix = ctx +"water";
    var id = [[${id}]]
    $.ajax({
        url:  prefix + "/orderItem/"+id,
        type:"post",
        dataType: "json",
        success: function(data){
            console.log(data);
        },error:function(data){
            console.error("加载失败！！")
        }



    });
</script>
</html>